#from hcluster import pdist, linkage, dendrogram
from hcluster import *
import numpy
import scipy
from numpy.random import rand
from ete2 import Tree
import math


X = rand(40000,40000)
X[0:5,:] *= 2


#print Z
#print dendrogram(Z)
'''
t = Tree()

bigmatrix = rand(40000, 23)

for i in range(40000):
    print i
    vector1 = bigmatrix[i,:]
    for j in range(40000):
        vector2 = bigmatrix[j,:]
        math.sqrt(sum((vector1 - vector2)**2))
   '''     